package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/*
*   客户开发计划类
* */
@Setter
@Getter
public class ClientDevelopmentPlan {
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operationDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modificationDate;

    private Employee originator;

    private Client client;
    private String subject;

    private String project;

    private String comments;

    /*
    *   开发计划进度
    *   0:失败
    *   1:开发中
    *   2:成功
    * */
    private int schedule;


}